package net.chathu.airgw.packets.gw.serverpackets 
{
	import net.chathu.airgw.Config;
	/**
	 * ...
	 * @author ze
	 */
	public class EndOfWhoisPacket implements ISendableIRCPacket 
	{
		
		private static const _head:String = " 318 ";

		private var _nick:String;
		private var _whoisnick:String;
		
		public function EndOfWhoisPacket(nick:String, whoisnick:String) 
		{
			_nick = nick;
			_whoisnick = whoisnick;
		}
		
		public function getMessage():String
		{
			return ":" + Config.IRC_HOST + _head + _nick + " " + _whoisnick + " :End of WHOIS list.\n";
		}
	}

}